home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
telecomm
/
bbs
/
tbbs093.lha
/
Rexx
/
BBSGoodbye.rexx
next >
Wrap
OS/2 REXX Batch file
|
1994-02-15
|
356b
|
22 lines
/* Log off stuff */
CR = D2C(13)
LF = D2C(10)
CRLF = CR||LF
ESC = D2C(27)
ln = arg(1)
CmdStr = arg(2)
LineName = Con_LineActive(ln)
if LineName = "" then exit 10
address value LineName
SetStatus "Logging off"
SendASCII "Text/Goodbye.txt"
LogEntry GetUserName(ln)||" logged off"
Disconnect
/*
if ln = 1 then do
address command
'toggledtr'
end */
exit 5